/**
 * Created by Administrator on 2015/12/1.
 */
var express = require('express');
var router = express.Router();

router.get('/:id', function(req, res) {
    var id=req.params.id;
    var msg;
    console.log(id);
    if(id=='0')
    {
        msg="操作成功";
    }
    if(id=='1')
    {
        msg="操作失败";
    }
    res.render('dialig', {
        message:msg
    });
});

module.exports = router;